package com.jobpass.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jobpass.common.model.Journalism;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author JobPass
 * @since 2020-07-17
 */
public interface JournalismService extends IService<Journalism> {
    /**
     * 查询所有Journalism
     * @return
     */
    List<Journalism> FindAllJournalism ();

    /**
     * 根据ID查询Journalism
     *
     */
    Journalism FindJournalismById(Long id);

    /**
     * 根据id删除Journalism
     */
    int DeleteJournalismById(Long id);

    /**
     * 根据id修改Journalism Id 和 其他修改项
     */
    int UpdateJournalismById(Journalism journalism);

    /**
     * 添加Journalism
     */
    int SavaJournalism(Journalism journalism);
}
